import { Consignee } from "./consignee"
export interface IUser {
	id?: string,
	name?: string;
	token?: string;
	headImgUrl?: string;
	shopCar?: number;
	consignee?: Consignee;
	isVip?: boolean,
	status?: number
}

export interface IUserData {
	orders: {
		unPay: number,
		unSend: number,
		unSign: number
	},
	shopCar: number,
	enterprise: {
		assert?: boolean,
		apply?: number
	}
}

export interface ILoginUser {
	iv?: string,
	encryptedData?: string,
	lng?: number;
	lat?: number;
	//nickName?: string;
	//avatarUrl?: string;
	code?: string;
	city?: string;
	gender?: number;
	province?: string;
	name?: string;
	headImgUrl?: string;
}


export interface IEnterpriseApply {
	name?: string,
	address?: string,
	phone?: string,
	status?: number,
	imgs?: Array<string>
}


export interface IEnterprise {
	address: string,
	audited: boolean,
	bank: string,
	bankNo: string,
	name: string,
	phone: string,
	taxpaerNo: string
}